package com.future.requestbean;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Range;

import lombok.Data;

@Data
public class Bj {
	@NotBlank(message="班级名字不能为空")
	private String classname;
	@NotNull(message = "人数不能为空")
	@Range( min = 0)
	private Integer rs;
}
